<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
	xmlns:s="/struts-tags" xmlns:sj="/struts-jquery-tags">
	<jsp:directive.page language="java"
		contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" />
	<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<jsp:text>
	<![CDATA[ 				
		
		 ]]>
</jsp:text>
</head>
<!-- Head -->
<body>
	<div class="row">
		<div align="center">
			<h1>Eliminar hardware</h1>
		</div>
	</div>

	<br />
	<div class="row">
		<s:form cssClass="form-horizontal" method="post"
			action="%{request.contextPath}/hardware/gestionar-hardware/%{idSel}">
			<s:hidden name="_method" value="delete"></s:hidden>
			
			<div class="form-group">
				<label for="nombre" class="col-sm-2 control-label">Nombre:</label>
				<div class="col-sm-8 well well-sm">
					<s:property value="model.nombre" />
				</div>
			</div>
			<div class="form-group">
				<label for="marca" class="col-sm-2 control-label">Marca:</label>
				<div class="col-sm-8 well well-sm">
					<s:property value="model.marca"/>
				</div>
			</div>
			<div class="form-group">
				<label for="modelo" class="col-sm-2 control-label">Modelo:</label>
				<div class="col-sm-8 well well-sm">
					<s:property value="modelo"/> 
				</div>
			</div>
			<div class="form-group">
				<label for="numeroSerie" class="col-sm-2 control-label">Número de serie</label>
				<div class="col-sm-8 well well-sm">
					<s:property value="model.numeroSerie"/>
				</div>
			</div>
			<div class="form-group">
				<label for="categoriaHardware" class="col-sm-2 control-label">Categoria de hardware</label>
				<div class="col-sm-8 well well-sm">
					<s:property value="model.categoriaHardware.nombre"/>
				</div>
			</div>
			<div class="form-group">
				<div class="col-md-offset-5">
					<button type="submit" class="btn btn-danger">Eliminar</button>
					<button
						onclick="location='${pageContext.request.contextPath}/hardware/gestionar-hardware'"
						class="btn-default btn" type="button">Cancelar</button>
				</div>
			</div>

		</s:form>
	</div>
</body>
	</html>
</jsp:root>





